package com.ruoyi.bearing.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 模型对象 my_model
 * 
 * @author cfy
 * @date 2025-02-14
 */
public class MyModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模型ID */
    @Excel(name = "模型ID")
    private Long id;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String name;

    /** 模型文件 */
    @Excel(name = "模型文件")
    private String modelFile;

    /** 源模型ID */
    @Excel(name = "源模型ID")
    private Long sId;

    /** 源模型信息 */
    private List<SMyModel> sModelList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setModelFile(String modelFile) 
    {
        this.modelFile = modelFile;
    }

    public String getModelFile() 
    {
        return modelFile;
    }
    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }

    public List<SMyModel> getSModelList()
    {
        return sModelList;
    }

    public void setSModelList(List<SMyModel> sModelList)
    {
        this.sModelList = sModelList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("modelFile", getModelFile())
            .append("sId", getsId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("sModelList", getSModelList())
            .toString();
    }
}
